package drrr.controller;

import java.util.List;

/**
 * 获取聊天室列表
 * Created by Xun on 2015/4/28.
 */
public class ChatRoomList extends BaseAction {
    private List chatRoomlists;


    public List getChatRoomlists() {
        return chatRoomlists;
    }

    public void setChatRoomlists(List chatRoomlists) {
        this.chatRoomlists = chatRoomlists;
    }

    @Override
    public String execute() throws Exception {
        this.setChatRoomlists(this.getAllService().getRoomService().getAllEntities());
        return SUCCESS;
    }
}
